<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
        <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
        <title>AUI快速完成布局</title>
        <link rel="stylesheet" type="text/css" href="../../css/aui.2.0.css" />
        <style type="text/css">
            body {
                background-color: rgba(255,255,255,0)
            }
        </style>
    </head>
    <body>
        <div class="aui-tips">
            <i class="aui-iconfont aui-icon-info"></i>
            <div class="aui-tips-title aui-ellipsis-1" style="width:90%">
                论坛用户名密码同APP设置一致。
            </div>
        </div>
    </body>
    <script type="text/javascript" src="../../script/api.js"></script>
    <script type="text/javascript" src="../../script/APICloud-rest-SHA1.js" ></script>
    <script type="text/javascript" src="../../script/aui-toast.js" ></script>
    <script type="text/javascript" src="../../script/aui-dialog.js" ></script>
    <script type="text/javascript">
        var toast = new auiToast();
        var dialog = new auiDialog();
        apiready = function() {
            api.parseTapmode();
            currentUser = $api.getStorage('username');
            if ( typeof (currentUser) == 'undefined') {
                infostr = "请稍候";
            } else {
                infostr = "自动登录中";
            }
            toast.loading({
                title : infostr,
                duration : 2000
            }, function(ret) {
                console.log(ret);
                setTimeout(function() {
                    toast.hide();
                }, 3000)
            });
            api.addEventListener({
                name : 'ev_closeForumLoadingFrame'
            }, function(ret2, err) {
                toast.hide();
                api.closeFrame({
                    name : 'forum_loading',
                });
            });
        };
    </script>
</html>